package ModelLayer;

import java.io.Serializable;

/**
 * 
 * @author frankeskelund
 *This is the super class for the classes Supplier and Customer
 */

public class Company implements Serializable
{
	private static final long serialVersionUID = -4126015493592167156L;
	
	private String cvr;
	private String co;
	private String address;
	private String phoneNumber;
	private String email;
	
	public Company(String cvr, String co, String address, String phoneNumber, String email)
	{
		this.cvr = cvr;
		this.co = co;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.email = email;
	}
	/**
	 * Gets the CVR for this company
	 * @return String there contains the CVR number
	 */
	public String getCvr() 
	{
		return cvr;
	}
	
	/**
	 * Sets the CVR for this company
	 * @param cvr to set
	 */
	public void setCvr(String cvr) 
	{
		this.cvr = cvr;
	}
	
	/**
	 * Gets the CO for this company
	 * @return String there contains the CO
	 */
	public String getCo() 
	{
		return co;
	}
	
	/**
	 * Sets the CO for this company
	 * @param CO to set
	 */
	public void setCo(String co) 
	{
		this.co = co;
	}
	
	/**
	 * Gets the address for this company
	 * @return String there contains the address
	 */
	public String getAddress() 
	{
		return address;
	}

	/**
	 * Sets the address for this company
	 * @param address to set
	 */
	public void setAddress(String address) 
	{
		this.address = address;
	}

	/**
	 * Gets the phone number for this company
	 * @return String there contains the phone number
	 */
	public String getPhoneNumber() 
	{
		return phoneNumber;
	}

	/**
	 * Sets the phone number for this company
	 * @param phone number to set
	 */
	public void setPhoneNumber(String phoneNumber) 
	{
		this.phoneNumber = phoneNumber;
	}
	
	/**
	 * Gets the email for this company
	 * @return String there contains the email
	 */
	public String getEmail() 
	{
		return email;
	}
	
	/**
	 * Sets the email for this company
	 * @param email to set
	 */
	public void setEmail(String email) 
	{
		this.email = email;
	}
	
	
}
